/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.alexgorbatchev.syntaxhighlighter.client;

import com.google.gwt.junit.client.GWTTestCase;
import java.util.Map;

/**
 *
 * @author cliffhill
 */
public class Gwt_TestParam extends GWTTestCase {

    @Override
    public String getModuleName() {
        return "com.alexgorbatchev.syntaxhighlighter.Highlighter";
    }

    public void testParam() {
        Map<Param, String> defaults = null;
        defaults = Param.getDefaults();

        assertNotNull("Parameter Defaults were not retrieved.", defaults);

        for(Param param : Param.values()) {
            String value = defaults.get(param);
            assertNotNull("Default Param." + param.name() + " = " + value, value);
        }
    }
}
